package com.bro.person.admin.controller;

import com.bro.person.admin.model.AdminResource;
import com.bro.person.admin.model.AdminResourceCriteria;
import com.bro.person.admin.service.IAdminResourceService;
import com.bro.person.base.controller.AbstractBroBaseController;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * AdminResource的 controller
 *
 * @author jdd
 * @version 1.0
 * @date 2018-10-11 09:53:41
 */
@RestController
@RequestMapping("/adminResource")
public class AdminResourceController extends AbstractBroBaseController<AdminResource, AdminResourceCriteria, Integer> {

    @Resource
    private IAdminResourceService adminResourceUserService;

    @Override
    protected IAdminResourceService getService() {
        return adminResourceUserService;
    }
}